Total Complexity | 6 |
Dependencies | 2 |
Dependents | 3 |
Total lines | 79 |
Lines of code | 43 |
Logical lines of code | 21 |
Comment lines | 21 |
Methods | 3 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
find_coupons_by_email() | 52 | 2 | 28 | |
find_or_create_coupon_by_code() | 62 | 3 | 12 | |
find_coupon_by_code() | 79 | 1 | 3 |